import request from "@/utils/fetch"
 //查询所有驾校信息
export function getAllSchoolList(params) {
  return request({
    url: "/qdjx/baseinfo/getAllSchoolList.do",
    method: "get",
    params,
  })
}
//查询教练信息
export function getCoachInfo(params) {
  return request({
    url: "/qdjx/baseinfo/getCoachInfo.do",
    method: "get",
    params,
  })
}
 //查询套餐信息
export function getLearnPackageList(params) {
  return request({
    url: "/qdjx/baseinfo/getLearnPackageList.do",
    method: "get",
    params,
  })
}
 //查询驾校详情信息
export function getSchoolDetailById(params) {
  return request({
    url: "/qdjx/baseinfo/getSchoolDetailById.do",
    method: "get",
    params,
  })
}
 //找驾校、教练信息
export function findCoachInfo(params) {
  return request({
    url: "/qdjx/baseinfo/findCoachInfo.do",
    method: "get",
    params,
  })
}
 //查询服务网点信息
export function getServiceNetworkList(params) {
  return request({
    url: "/qdjx/baseinfo/getServiceNetworkList.do",
    method: "get",
    params,
  })
}
 //查询行业动态信息
export function getSysNewsList(params) {
  return request({
    url: "/qdjx/baseinfo/getSysNewsList.do",
    method: "get",
    params,
  })
}
//查询车型信息
export function getVehicleKindInfo(params) {
  return request({
    url: "/qdjx/baseinfo/getVehicleKindInfo.do",
    method: "get",
    params,
  })
}
//查询青岛下级有驾校的县区
export function getDistrictList(params) {
  return request({
    url: "/qdjx/baseinfo/getDistrictList.do",
    method: "get",
    params,
  })
}

//获取学员充值记录
export function getStudentRechargeInfo(params) {
  return request({
    url: "/qdjx/studentBill/getStudentRechargeInfo.do",
    method: "get",
    params,
  })
}
//获取学员支付记录
export function getStudentPayRecordInfo(params) {
  return request({
    url: "/qdjx/studentBill/getStudentPayRecordInfo.do",
    method: "get",
    params,
  })
}

//获取学员退费记录
export function getStudentRefundRecordInfo(params) {
  return request({
    url: "/qdjx/studentBill/getStudentRefundRecordInfo.do",
    method: "get",
    params,
  })
}
//获取学员账单记录
export function getStudentBillRecord(params) {
  return request({
    url: "/qdjx/studentBill/getStudentBillRecord.do",
    method: "get",
    params,
  })
}
//获取微信签名
export function getWechatSign(params) {
  return request({
    url: "/qdjx/home/getWechatSign.do",
    method: "get",
    params,
  })
}
//获取学员评价记录信息（驾校、教练）
export function getStudentAppraiseRecord(params) {
  return request({
    url: "/qdjx/student/getStudentAppraiseRecord.do",
    method: "get",
    params,
  })
}
//获取学员评价记录信息（驾校、教练）
export function getStudentAppraiseRecordList(params) {
  return request({
    url: "/qdjx/student/getStudentAppraiseRecordList.do",
    method: "get",
    params,
  })
}
//获取套餐详情信息
export function getLearnPackageDetail(params) {
  return request({
    url: "/qdjx/baseinfo/getLearnPackageDetail.do",
    method: "get",
    params,
  })
}
//查询首页banner配置
export function getBannerConfigList(params) {
  return request({
    url: "/qdjx/baseinfo/getBannerConfigList.do",
    method: "get",
    params,
  })
}

//查询首页banner配置
export function saveUserInfo(data) {
  return request({
    url: "/qdjx/chat/saveUserInfo.do",
    method: "post",
    data,
  })
}


//查询首页班型
export function getLearnPackageListByStudyModel(params) {
  return request({
    url: "/qdjx/baseinfo/getLearnPackageListByStudyModel.do",
    method: "get",
    params,
  })
}


